package com.app.dbsource;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import com.app.dbsource.configuration.ConsoleConfiguration;

/**
*
*/
@Configuration
@ComponentScan("com.yslc.erp.manage")
@EnableAutoConfiguration// 启注解事务管理，等同于xml配置方式的 <tx:annotation-driven />
//@SpringBootApplication
@Import(ConsoleConfiguration.class)
public class Main {
    public static void main(String[] args) throws Exception {
//        Utils.default2Utf8();
        SpringApplication.run(Main.class, args);
    }
    
//    @Bean
//    public Object testBean(PlatformTransactionManager platformTransactionManager){
//        System.out.println(">>>>>>>>>>" + platformTransactionManager.getClass().getName());
//        return new Object();
//    }
}
